Automattic\Jetpack\Boost_Speed_Score\Speed_Score S

Total Complexity 41
Dependencies 7
Dependents 2
Total lines 339
Lines of code 168
Logical lines of code 77
Comment lines 125
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_speed_score_response()
A
50 12 26
fetch_speed_score()
A
51 11 26
maybe_dispatch_no_boost_score_request()
S
56 5 17
register_rest_routes()
S
49 1 39
process_url_arg()
S
60 2 14
__construct()
S
61 2 12
dispatch_speed_score_request()
S
62 2 11
dispatch_speed_score_graph_history_request()
S
74 1 4
allow_jb_disable_module()
S
72 1 5
get_score_request_by_url()
S
75 1 5
get_boost_modules_disabled_url()
S
79 1 3
can_access_speed_scores()
S
80 1 3
clear_speed_score_request_cache()
S
82 1 3